home *** CD-ROM | disk | FTP | other *** search
/ Disc to the Future 2 / Disc to the Future Part II Programmer's Reference (Wayzata Technology)(6013)(1992).bin / MAC / EARLY_SY / MOUNTALI / MOUNTALI.AS_
Text File  |  1991-06-14  |  3KB  |  60 lines

  1. MountAlias version 1.0a3 of 6/14/91
  2. ---------------------------------
  3.  
  4. MountAlias is a control panel that creates aliases automatically to AppleShare volumes every time an AppleShare volume is mounted.
  5.  
  6. These aliases are put in a folder (or in subfolders of this folder) that you specify.  By default, this path is "HardDisk:Aliases:", you should use the ╥Change Folder╙ button in the control panel to modify this (or rename your hard disk if you're boring).
  7.  
  8. MountAlias will create alias files in one of three ways, specified by the three ╥Alias Name╙ radio buttons.
  9.  
  10. Choosing the ╥Volume╙ option causes the name of the alias file to be the name of the AppleShare volume (e.g. ╥HardDisk:Aliases:Volume╙).  This is the default option.  If an alias with that name already exists, MountAlias does nothing.
  11.  
  12. Choosing the ╥Volume @ Server╙ option causes the server name to be appended to the volume name (e.g. ╥HardDisk:Aliases:Volume @ Server╙).  The name will be truncated with ellipses to the maximum filename length of 31 characters.  This means alias filenames will be less likely to conflict, although some conflicts may still occur.
  13.  
  14. Choosing the ╥Zone:Server:Volume╙ option will create a hierarchy inside the alias folder.  At the top level are folders corresponding to zones, inside these are folders corresponding to servers, and inside these are the alias files themselves (e.g. ╥HardDisk:Aliases:Zone:Server:Volume╙).  This guarantees that alias filenames will not conflict.  MountAlias will create these subfolders as needed.
  15.  
  16. MountAlias will create aliases only to AppleShare volumes.  For example, SCSI disks and floppies are ignored.
  17.  
  18. MountAlias requires System 7.0 or later, it checks for this at INIT time and won't install otherwise.
  19.  
  20. MountAlias has no icon because I'm lazy and have no artistic talent.  Suggestions are welcome.
  21.  
  22. Of course, no hack can ever be written without help from Dean Yu.  Thanks, Dean.
  23.  
  24. MountAlias was written by:
  25.  
  26. Jeff Miller
  27. AppleLink: JEFFM
  28. Internet: jsm@apple.com
  29. 20525 Mariani Avenue MS:  81EQ
  30. Cupertino, CA 95014
  31.  
  32. Change History:
  33.  
  34. 1.0a3 (6/14/91)
  35. ---------------
  36.  
  37. MacHack no frills version (i.e. just get it done).
  38.  
  39. Made MountAlias a control panel.
  40.  
  41. Add support for dynamically turning MountAlias on and off.
  42.  
  43. Support no zone names when using ╥Zone:Server:Volume╙ option.
  44.  
  45. 1.0a2 (5/2/91)
  46. --------------
  47. Added support for three different ways of creating aliases.
  48.  
  49. Removed all _Debugger traps and symbols.
  50.  
  51. Fixed bug where a resource was being released twice at INIT time.
  52.  
  53. Use _Get1Resource instead of _GetResource.
  54.  
  55. INIT will not install if pathname in STR resource is zero length.
  56.  
  57. 1.0a1 (4/29/91)
  58. ---------------
  59. Initial release.
  60.